<template>
  <div>
    <renderAmis :schema="jsons" v-if="jsons"></renderAmis>
  </div>
</template>

<script setup lang="ts">
import renderAmis from "@/components/renderAmis";
import { getSchema } from '@/utils/schema.ts'
const jsons = ref()
onMounted(async () => {
  jsons.value = JSON.parse(await getSchema({ id: 26 }))
})

</script>

<style lang="scss"></style>
